package edu.fim.core.service.impl;

import edu.fim.aspect.Transactional;
import edu.fim.core.service.MealService;
import edu.fim.data.dao.MealDAO;
import edu.fim.data.dao.factory.DAOFactory;
import edu.fim.presentation.model.bean.Meal;

public class MealServiceImpl implements MealService {

	@Transactional
	public void insert(Meal entity) {
		MealDAO dao = DAOFactory.getInstance().createMealDao();
		dao.persist(entity);
	}
}